diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-13 18:39:56 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-13 18:39:56 +0200 |
commit | 5215c2242dd7b87418a7c10781c2b10b35d86f46 (patch) | |
tree | 9164c3963424cc149ddd7e61561470f27f5b817a /tests/cassettes/test_status_post[None-None].yaml | |
parent | 0e00fced99976d74e972a3c9ca5b762697840a33 (diff) | |
download | mastodon.py-5215c2242dd7b87418a7c10781c2b10b35d86f46.tar.gz |
Fix some things in streaming and admin API for 3.3.0 support
Diffstat (limited to 'tests/cassettes/test_status_post[None-None].yaml')
-rw-r--r-- | tests/cassettes/test_status_post[None-None].yaml | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/tests/cassettes/test_status_post[None-None].yaml b/tests/cassettes/test_status_post[None-None].yaml index 41ed90d..9d8acd7 100644 --- a/tests/cassettes/test_status_post[None-None].yaml +++ b/tests/cassettes/test_status_post[None-None].yaml | |||
@@ -20,17 +20,17 @@ interactions: | |||
20 | uri: http://localhost:3000/api/v1/statuses | 20 | uri: http://localhost:3000/api/v1/statuses |
21 | response: | 21 | response: |
22 | body: | 22 | body: |
23 | string: '{"id":"109336907861742477","created_at":"2022-11-13T14:13:33.809Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109336907861742477","url":"http://localhost:3000/@mastodonpy_test/109336907861742477","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 23 | string: '{"id":"109337448555880962","created_at":"2022-11-13T16:31:04.148Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109337448555880962","url":"http://localhost:3000/@mastodonpy_test/109337448555880962","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
24 | test suite","website":null},"account":{"id":"109336899193569236","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 24 | test suite","website":null},"account":{"id":"109337440686176140","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
25 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI | 25 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI |
26 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","followers_count":0,"following_count":0,"statuses_count":7,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' | 26 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","header":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","followers_count":0,"following_count":0,"statuses_count":7,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' |
27 | headers: | 27 | headers: |
28 | Cache-Control: | 28 | Cache-Control: |
29 | - no-store | 29 | - no-store |
30 | Content-Security-Policy: | 30 | Content-Security-Policy: |
31 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 31 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
32 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 32 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
33 | style-src ''self'' http://localhost:3000 ''nonce-0MaEoapCr8kvBSQ4CGIEjg==''; | 33 | style-src ''self'' http://localhost:3000 ''nonce-y2Le8y88nkhwycIqIEkTZg==''; |
34 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 34 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
35 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 35 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
36 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 36 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -40,7 +40,7 @@ interactions: | |||
40 | Content-Type: | 40 | Content-Type: |
41 | - application/json; charset=utf-8 | 41 | - application/json; charset=utf-8 |
42 | ETag: | 42 | ETag: |
43 | - W/"f09c4e1b50f95b04c1751982e3c0e164" | 43 | - W/"a546e796d56720f33a203687b222d1e5" |
44 | Referrer-Policy: | 44 | Referrer-Policy: |
45 | - strict-origin-when-cross-origin | 45 | - strict-origin-when-cross-origin |
46 | Transfer-Encoding: | 46 | Transfer-Encoding: |
@@ -58,13 +58,13 @@ interactions: | |||
58 | X-RateLimit-Limit: | 58 | X-RateLimit-Limit: |
59 | - '300' | 59 | - '300' |
60 | X-RateLimit-Remaining: | 60 | X-RateLimit-Remaining: |
61 | - '214' | 61 | - '212' |
62 | X-RateLimit-Reset: | 62 | X-RateLimit-Reset: |
63 | - '2022-11-13T15:00:00.829260Z' | 63 | - '2022-11-13T18:00:00.172302Z' |
64 | X-Request-Id: | 64 | X-Request-Id: |
65 | - af70376b-179d-4a6b-a9b3-e59cb485af15 | 65 | - 0b405830-58f3-4684-bcc0-af7d523c5696 |
66 | X-Runtime: | 66 | X-Runtime: |
67 | - '0.032318' | 67 | - '0.038700' |
68 | X-XSS-Protection: | 68 | X-XSS-Protection: |
69 | - 1; mode=block | 69 | - 1; mode=block |
70 | status: | 70 | status: |
@@ -86,20 +86,20 @@ interactions: | |||
86 | User-Agent: | 86 | User-Agent: |
87 | - tests/v311 | 87 | - tests/v311 |
88 | method: DELETE | 88 | method: DELETE |
89 | uri: http://localhost:3000/api/v1/statuses/109336907861742477 | 89 | uri: http://localhost:3000/api/v1/statuses/109337448555880962 |
90 | response: | 90 | response: |
91 | body: | 91 | body: |
92 | string: '{"id":"109336907861742477","created_at":"2022-11-13T14:13:33.809Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109336907861742477","url":"http://localhost:3000/@mastodonpy_test/109336907861742477","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Toot!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 92 | string: '{"id":"109337448555880962","created_at":"2022-11-13T16:31:04.148Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109337448555880962","url":"http://localhost:3000/@mastodonpy_test/109337448555880962","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Toot!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
93 | test suite","website":null},"account":{"id":"109336899193569236","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 93 | test suite","website":null},"account":{"id":"109337440686176140","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
94 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI | 94 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI |
95 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","followers_count":0,"following_count":0,"statuses_count":6,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' | 95 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","header":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","followers_count":0,"following_count":0,"statuses_count":6,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' |
96 | headers: | 96 | headers: |
97 | Cache-Control: | 97 | Cache-Control: |
98 | - no-store | 98 | - no-store |
99 | Content-Security-Policy: | 99 | Content-Security-Policy: |
100 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 100 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
101 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 101 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
102 | style-src ''self'' http://localhost:3000 ''nonce-uvnjIGvFTYBMZ46yaxYZ2w==''; | 102 | style-src ''self'' http://localhost:3000 ''nonce-i9yCBdCFjElHOoNrU7/ISA==''; |
103 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 103 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
104 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 104 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
105 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 105 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -109,7 +109,7 @@ interactions: | |||
109 | Content-Type: | 109 | Content-Type: |
110 | - application/json; charset=utf-8 | 110 | - application/json; charset=utf-8 |
111 | ETag: | 111 | ETag: |
112 | - W/"a5b9e569a490685ad20e45b531aa5b76" | 112 | - W/"de6bd45d1759a4e0bacf52a6b36b3412" |
113 | Referrer-Policy: | 113 | Referrer-Policy: |
114 | - strict-origin-when-cross-origin | 114 | - strict-origin-when-cross-origin |
115 | Transfer-Encoding: | 115 | Transfer-Encoding: |
@@ -125,9 +125,9 @@ interactions: | |||
125 | X-Permitted-Cross-Domain-Policies: | 125 | X-Permitted-Cross-Domain-Policies: |
126 | - none | 126 | - none |
127 | X-Request-Id: | 127 | X-Request-Id: |
128 | - e40a81ad-6a69-4d42-af98-7140ec09711e | 128 | - 99f19853-f76d-4aef-a2b5-5fedf1a45ba1 |
129 | X-Runtime: | 129 | X-Runtime: |
130 | - '0.023477' | 130 | - '0.027930' |
131 | X-XSS-Protection: | 131 | X-XSS-Protection: |
132 | - 1; mode=block | 132 | - 1; mode=block |
133 | status: | 133 | status: |